import 'package:flutter/material.dart';
import 'package:xv_flutter/model/news.dart';

class NewsDetailPage extends StatelessWidget {
  final Items item;
  NewsDetailPage({this.item});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(item.title)),
      body: Padding(
        padding: EdgeInsets.all(16),
        child: Text(item.content),
      ),
    );
  }
}